import React,{useEffect} from 'react';
import { registry } from '../api/user/auth'; 

const RequestTest = () => {
  useEffect( ()=>{
    async function request(){
      const res = await registry({username:'张三',password:'123'});
    }
    request();
  },[]);


  return (
    <div>RequestTest</div>
  );
};
export default RequestTest;